using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools
{
    /// <summary>
    /// <para>Get Diagram Template Names</para>
    /// <para>Get all the diagram template names defined in a utility network</para>
    /// <para>获取公共设施网络中定义的所有逻辑示意图模板名称</para>
    /// </summary>    
    [DisplayName("Get Diagram Template Names")]
    public class GetDiagramTemplateNames : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public GetDiagramTemplateNames()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Network</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public GetDiagramTemplateNames(object _in_utility_network)
        {
            this._in_utility_network = _in_utility_network;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Get Diagram Template Names";

        public override string CallName => "un.GetDiagramTemplateNames";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _out_template_names];

        /// <summary>
        /// <para>Input Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Output Diagram Template Names</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Diagram Template Names")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public List<object> _out_template_names { get; set; }


        public GetDiagramTemplateNames SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}